import java.util.Arrays;
import java.util.Scanner;

public class Max {
    public static void main(String[] args) {
        int[]array=new int[10];
        Scanner scanner=new Scanner(System.in);
        int i=0;
        while(i<10){
            array[i]=scanner.nextInt();
            i++;
        }
        Arrays.sort(array);
        System.out.println(Arrays.toString(array));
    }
}
